package com.qding.park.manager.app.queue.config;

import com.baidu.disconf.client.common.annotations.DisconfItem;

/**
 * @author Administrator
 *队列处理配置信息
 */
public class QueueTaskHandleConfig {

		
	/**
	 * 允许失败的次数
	 */
	private static int   allow_fail_num =0;
	
	/**
	 * 重试的间隔
	 */
	private  static int retry_sleep_seconds=10;
	
	/**
	 * 重试次数
	 */
	private static int retry_times=3;
	
	/**
	 * 车牌到期提醒天数
	 */
	private static int expire_notice_days=5;
	

	@DisconfItem(key = "queue.task.allow_fail_num",associateField="allow_fail_num")
	public static int getAllow_fail_num() {
		return allow_fail_num;
	}


	public static void setAllow_fail_num(int allow_fail_num) {
		QueueTaskHandleConfig.allow_fail_num = allow_fail_num;
	}

	@DisconfItem(key = "queue.task.retry_sleep_seconds",associateField="retry_sleep_seconds")
	public static int getRetry_sleep_seconds() {
		return retry_sleep_seconds;
	}


	public static void setRetry_sleep_seconds(int retry_sleep_seconds) {
		QueueTaskHandleConfig.retry_sleep_seconds = retry_sleep_seconds;
	}

	
	@DisconfItem(key = "queue.task.retry_times",associateField="retry_times")
	public static int getRetry_times() {
		return retry_times;
	}


	public static void setRetry_times(int retry_times) {
		QueueTaskHandleConfig.retry_times = retry_times;
	}

	
	@DisconfItem(key = "expire_notice_days",associateField="expire_notice_days")
	public static int getExpire_notice_days() {
		return expire_notice_days;
	}


	public static void setExpire_notice_days(int expire_notice_days) {
		QueueTaskHandleConfig.expire_notice_days = expire_notice_days;
	}

	
	
	
	
}
